/* eslint-disable no-undef */
const { defineConfig } = require('@vue/cli-service')
// const path = require('path')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    host: 'localhost',
    port: 4000,
    open: true,
    // 配置反向代理
    proxy: {}
  },
  lintOnSave: false
  // chainWebpack: (config) => {
  //   config.resolve.alias
  //     .set('@', path, join(__dirname, 'src'))
  //     .set('@a', path, join(__dirname, 'src/api'))
  //     .set('@c', path, join(__dirname, 'src/components'))
  //     .set('@u', path, join(__dirname, 'src/utils'))
  //     .set('@r', path, join(__dirname, 'src/router'))
  //     .set('@v', path, join(__dirname, 'src/views'))
  //     .set('@s', path, join(__dirname, 'src/store'))
  // }
})
